package com.genexususa.eo.google.test.feed;

import com.genexususa.eo.google.connection.FeedManager;

/**
 * Created with IntelliJ IDEA.
 * User: Emiliano Martinez
 * Date: 7/29/14
 * Time: 6:02 PM
 * To change this template use File | Settings | File Templates.
 */
public class ConsumeDeleteFeed {

    public static void main(String[] args){
        String xml = "<GA_FeedCollection xmlns=\"L2TMediaTrunk\">\n" +
                "\t<GA_Feed xmlns=\"L2TMediaTrunk\">\n" +
                "\t\t<FeedGxId>1772</FeedGxId>\n" +
                "\t\t<FeedTypeId>2</FeedTypeId>\n" +
                "\t\t<FeedId>18962991</FeedId>\n" +
                "\t\t<FeedName>Call Ad Extension 2</FeedName>\n" +
                "\t</GA_Feed>\n" +
                "</GA_FeedCollection>";

        FeedManager fm = new FeedManager();
        fm.SetClientId("2274385081");
        String res = fm.DeleteFeed(xml);
        System.out.println(res);

    }
}
